package com.ruoyi.project.applet.domain;


import java.util.Date;
import java.io.Serializable;


public class Interact implements Serializable {
    /**
     * 聊天id
     */
    private Long interactId;
    /**
     * 跟谁聊天
     */
    private Long fromId;
    /**
     * 用户本身
     */
    private Long toId;
    /**
     * 未读总条数
     */
    private Long count;
    /**
     * 会话ID
     */
    private String chatId;
    /**
     * 最后一次聊天时间
     */
    private Date lastTime;
    /**
     * 最后一次聊天记录
     */
    private String lastContent;
    /**
     * 内容类型，0文字  1图片
     */
    private Object interactType;

    public Long getInteractId() {
        return interactId;
    }

    public void setInteractId(Long interactId) {
        this.interactId = interactId;
    }

    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }

    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getChatId() {
        return chatId;
    }

    public void setChatId(String chatId) {
        this.chatId = chatId;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public String getLastContent() {
        return lastContent;
    }

    public void setLastContent(String lastContent) {
        this.lastContent = lastContent;
    }

    public Object getInteractType() {
        return interactType;
    }

    public void setInteractType(Object interactType) {
        this.interactType = interactType;
    }
}

